package com.fit.interfaces;

import java.util.List;

import com.fit.enums.AccountRole;
import com.fit.enums.Gender;

public interface User {
	
	public List<BorrowI> getBorrows();
	
	public void setBorrows(List<BorrowI> borrows);

	public long getId();

	public void setId(long id);

	public String getUserName();

	public void setUserName(String userName);

	public String getFullName();

	public void setFullName(String fullName);

	public String getPassword();

	public void setPassword(String password);

	public String getEmail();

	public void setEmail(String email);

	public Gender getGender();

	public void setGender(Gender gender);

	public AccountRole getRole();

	public void setRole(AccountRole role);
	
	public void executeUserCreation(String userName,String password,String fullName,Gender gender,String email,AccountRole role);

	public void executeUserForRegistration(String userName, String password,
			String fullName, Gender gender, String email);
}